package com.citcc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 * 
 * @author xiongzai
 */
@EnableTransactionManagement // 开启注解事务管理，等同于xml配置文件中的 <tx:annotation-driven />
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan("com.citcc.*.mapper")
public class MainApplication
{
    public static void main(String[] args)
    {
    	SpringApplication.run(MainApplication.class, args);
        System.out.println(" 启动成功 \n");
    }
}